package day0218;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        //1. 输入三个long数据
        Scanner sc=new Scanner(System.in);
        long g1=sc.nextLong();
        long g2=sc.nextLong();
        long g3=sc.nextLong();
        //比较
        //g1=1, g2
        //打印
        if(g1<g2){
            long temp = g1;
            g1 = g2;
            g2 = temp;
        }
        if(g2<g3){
            long temp = g2;
            g2 = g3;
            g3= temp;

        }
        if(g1<g2) {             //用随机数产生随机字母  String c1=(char)('A' +  (int)(Math.random()*25)) +"";
            long temp = g1;     //输入猜的字母        String c2=sc.nextLine();
            g1 = g2;            //if-else if-else   比较猜大了还是小了，还是对了
            g2 = temp;
        }
        System.out.println(g1+","+g2+","+g3);
    }
}
